img{
    display: block;
    max-width: 100%;
}
.badge-info{
    background-color: #76C;
}
.badge-success{
    background-color: #28a745;
}
.badge-danger{
    background-color: #ea0c3c;
}
.sidebar>.list-group-item,
img,
.sidebar-card{
    border-radius: 3px;
}
/* 导航栏 */
.navbar-brand{
    width: 50px;
    background: url("../img/logo.png") no-repeat center/70%;
}
/* 左侧栏 */
.sidebar>.list-group-item{
    border: 0;
    margin-bottom: 3px;
}
.sidebar>.list-group-item.active{
    background-color: #ea0c3c;
}
/* 新闻列表页 */
.new-list{
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.new-list:first-child{
    padding-top: 0;
}
.new-list-item .title{
    display: block;
    font-size: 18px;
    color: #444;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
}
.new-list-item .title:hover{
    color: #337ab7;
}
.new-list-item .info{
    color: #888;
}
.avatar{
    display: inline-block;
    margin-right: 10px;
}
.avatar img{
    width: 16px;
    height: 16px;
}
/* 右侧栏 */
.sidebar-card{
    /* 无背景色的原因是栅格系统是浮动的,我们需要清除浮动 */
    background-color: rgba(0,0,0,.05);
    margin-top: 15px;
    padding: 10px 0;
}
.sidebar-card.flag{
    padding: 20px 0;
}
.sidebar-card .text-lg{
    font-size: 130%;
}
/* 添加内边距 */
.sidebar-card .card-title,
.sidebar-card .card-body .item{
    padding: 10px 15px;
}
.sidebar-card .card-title{
    font-size: 18px;
    font-weight: bold;
    padding-top: 0;
    padding-bottom: 0;
}
.sidebar-card .card-body .item:hover{
    background-color: rgba(0,0,0,0.05);
}
.sidebar-card .card-body .item .title{
    padding-bottom: 5px;
    line-height: 1.5;
}
.sidebar-card .card-body .item .desc{
    color: #999;
}
.news-title{
    line-height: 1.5;
    font-size: 25px;
    font-weight: bold;
}
.new-status{
    color: #999;
}
.new-status .label{
    opacity: 0.7;
}
.news-content{
    margin-top: 20px;;
    font-size: 16px;
    line-height: 1.5;
}
.news-content img{
    margin: 10px 0;
}
.no-padding-h{
    padding-left: 0;
    padding-right: 0;
}
.footer{
    margin-top: 20px;
    padding: 20px 0;
    text-align: center;
    color: #999;
}
#toggle-checkbox:checked~div{
    display: block !important;
}
#toggle-label{
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 13px;
    font-size: 15px;
    color: #666;
    display: none;
}
#toggle-label:hover{
    color: #333;
}